<?php $this->pageTitle = __("Công năng", true);?>
<?php echo $this->Html->css('news', 'stylesheet', array('type' => 'text/css'));?>

<div class="main_content">
	<h2 class="title"><?php __("Công năng") ?></h2>
	<ul class="wd-product-entries">
		<?php foreach($pages as $page) { ?>
		<li>
			<a href="<?php echo $html->url(array('plugin' => 'features', 'controller' => 'features', 'action' => 'view', $page['Feature']['alias']));?>"><img class="wd-img-news" src="<?php echo $html->url('/').'files/features/'.$html->getThumbnailName($page['Feature']['image']); ?>" alt="" /></a>
			<h4><a href="<?php echo $html->url(array('plugin' => 'features', 'controller' => 'features', 'action' => 'view', $page['Feature']['alias']));?>"><?php echo $page['Feature']['title']; ?></a></h4>
			
			<p><?php echo $this->text->new_truncate(strip_tags($page['Feature']['description']), 240); ?></p>		
		</li>
	<?php } ?>
	</ul>
	<?php echo $this->element('pagination/pagination', array('model' => 'Feature'));?>     	
</div>
<div class="right_content">
	<?php echo $this->element('news_categories');?>     	
</div>